<!DOCTYPE html>
<html manifest="cache.appcache"> 
<html>
<head>
    <title>Welcome | RSS Reader</title>
    <link rel='icon' href='../shared/img/favicon.png' type='image/png' />
    <link href="css/bootstrap.css" rel="stylesheet" />
    <link href="css/bootstrap-responsive.css" rel="stylesheet" />
    <link href="css/style.css" rel="stylesheet" />
    <script type="text/javascript" src="../shared/scripts/sprintf.js"></script>
    <script type="text/javascript" src="../shared/scripts/Database.js"></script>
    <script type="text/javascript" src="../shared/scripts/SavedFeeds.js"></script>
    <script type="text/javascript" src="../shared/scripts/jquery.js"></script>
    <script type="text/javascript" src="scripts/bootstrap.js"></script>
    <script type="text/javascript" src="../shared/scripts/scripts.js"></script>
    <script type="text/javascript" src="scripts/desktop.js"></script>
</head>
<body>
    <div class="page_wrapper">
        <div class="content-wrapper container">
            <div class="well well-large">
                <div class="text-center">
                    <h2>
                        Welcome to
                    </h2>
                    <img src="../shared/img/logo_medium.png" />
                    <h2>
                        Offline Rss Reader
                    </h2>
                    <div class="btn-group">
                        <button class="btn btn-inverse" id="main-login" data-toggle="modal" data-target="#main-login-modal"><i class="icon-lock icon-white"></i> Login</button>
                        <a href="SignUp.html" class="btn btn-inverse" id="main-register"><i class="icon-user icon-white"></i> Register</a>
                    </div>
                    <div id="main-login-modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="main-login-modal-id" aria-hidden="true">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="icon-off"></i></button>
                            <h3>Login</h3>
                        </div>
                        
                        <div class="modal-body">
                            <div class="control-group">
                                <label class="control-label">Email</label>
                                <div class="controls">
                                    <input type="text" id="login-username" placeholder="Email">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">Password</label>
                                <div class="controls">
                                    <input type="password" id="login-password" placeholder="Password">
                                </div>
                            </div>
                        </div>
                        <div id="login-error"></div>
                        <div class="modal-footer">
                            <button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
                         	<button class="btn btn-primary" type="submit" id="login-button">Login</button>
                        </div>
                       
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
    	$(function() {
    		initLoginPageComponenets();
    	})
    </script>
</body>
</html>